home *** CD-ROM | disk | FTP | other *** search
- Path: news1.interserv.net!news
- From: rvanrooy@spry.com
- Newsgroups: comp.lang.c++
- Subject: Gnu-win32: Errors during compile
- Date: 7 Feb 1996 18:15:23 GMT
- Organization: InterServ News Service
- Message-ID: <4faq7r$6sb@lal.interserv.net>
- NNTP-Posting-Host: 198.185.2.180
- X-Newsreader: SPRY News 3.10 (SPRY, Inc.)
-
-
- I am trying to compile the c++ demo program that comes with the gnu-win32 c++
- package and I get errors.
-
-
- C:\Usr\demo>gcc cplus.cc
- /Usr/TEMP/cc0010001.o(.text+0x43):cplus.cc: undefined reference to `cout'
- /Usr/TEMP/cc0010001.o(.text+0x48):cplus.cc: undefined reference to `ostream::ope
- rator<<(char const *)'
- /Usr/TEMP/cc0010001.o(.text+0x53):cplus.cc: undefined reference to `ostream::ope
- rator<<(int)'
- /Usr/TEMP/cc0010001.o(.text+0x5e):cplus.cc: undefined reference to `ostream::ope
- rator<<(char const *)'
-
- My environment is as follows:
-
-
- C:\Usr\demo>set
- PROMPT=$p$g
- winbootdir=C:\WIN311
- COMSPEC=C:\WIN311\COMMAND.COM
- TEMP=C:\Usr\TEMP
- TMP=C:\Usr\TEMP
- BIN=C:\Usr\BIN
- INCLUDE=C:\Usr\INCLUDE
- LIB=C:\Usr\LIB
- CPLUS_INCLUDE_PATH=C:\Usr\lib\g++-include
- windir=C:\WIN311
- BLASTER=A220 I5 D1 H5 P330 T6
- PATH=Y:\PUBLIC;X:\;Z:\;C:\SPRY\BIN;C:\USR;C:\USR\BIN;C:\USR\LIB;C:\USR\INCLUDE;C
- :\WIN311;C:\WIN311\COMMAND;C:\NWCLIENT
- CMDLINE=gcc cplus.cc
-
-
- Does anyone know what I am doing wrong ?
-
- thanks,
-
- Russ
-
-